home *** CD-ROM | disk | FTP | other *** search
- Path: in2.uu.net!van-bc!usenet
- From: George Pava <gpava@wimsey.com>
- Newsgroups: comp.lang.c++
- Subject: OWL Application
- Date: Wed, 17 Jan 1996 10:04:07 -0800
- Organization: Online at Wimsey
- Message-ID: <30FD3A17.1E85@wimsey.com>
- NNTP-Posting-Host: pm010.bby.wis.net
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b4a (Win16; I)
-
- Hi!
- I am working with BC 4.5 and trying to write an OWL application.
-
- My main class (called Wind) is derived from TWindow. A member of the
- class is a pointer to a class (called TButtonPallette) derived from
- TFloatingFrame that is holding a TToolBox object with TButtonGadget
- objects . In InitMainWindow, I create a TDecoratedFrame to whom I pass,
- as a client, a pointer to a Wind object. Everything works fine.
-
- I would like now to implement a context sensitive help. The only way I
- could find to do this is by overriding the EvEnterIdle response function.
- However, I can't do this while having Wind only a TWindow class because
- it doesn't respond to EV_WM_ENTERIDLE message. Therefore, I changed Wind
- to be derived from TDecoratedFrame (it didn't really matter for the rest
- of the application), took out TButtonPallette pointer member. In
- InitMainWindow I created a Wind object with TButtonPallette as a client
- and set it as a MainWindow. Wind has also a vertical scroll bar.
-
- The problem I have is the following: for the first displayed screen
- (Iwork with the window maximized)I don't get any response from the
- mouse,;I can select gadgets from the tool box but I can't do anything
- with them. As soon as I scrool down,beginning with the second "screen
- page" my mouse works fine; even if I have on my window half of the first
- screen page and half of the second. My F1 works having Wind implemented
- like this, but I can't solve the problem I ran into.
-
- Any suggestions? I tried other things but they ended up even worse.
- Thanks a lot,
- Cristina Pava
- gpava@wimsey.com
-